//
//  InvoiceDetailHeaderView.m
//  GLGW_Shoping
//
//  Created by whx on 2018/12/10.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "InvoiceDetailHeaderView.h"

@implementation InvoiceDetailHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        GLGWView *view = [[GLGWView alloc] initWithInSuperView:self.contentView];
        view.backgroundColor = [UIColor colorWithHexString:@"#F2F2F2"];
        [view mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.right.top.equalTo(self.contentView);
            make.height.equalTo(@(kHeightProportion_In_iPhoneTriploid(10)));
        }];
        
        GLGWView *view2 = [[GLGWView alloc] initWithInSuperView:self.contentView];
        view2.backgroundColor = [UIColor whiteColor];
        [view2 mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.bottom.right.equalTo(self.contentView);
            make.height.equalTo(@(kHeightProportion_In_iPhoneTriploid(8)));
        }];
    }
    return self;
}

@end
